﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Nhacungcap_DTO
    {
        private int _MaNCC;
        private string _TenNCC;
        private int _SDT;
        private string _Email;
        private string _Diachi;
        private string _Fax;
        private string _Website;
        private string _TaikhoanNH;
        private string _TinhTrang;
        private string _GhiChu;

        public int MaNCC
        {
            get { return _MaNCC; }
            set { _MaNCC = value; }
        }

        public string TenNCC
        {
            get { return _TenNCC; }
            set { _TenNCC = value; }
        }

        public string Diachi
        {
            get { return _Diachi; }
            set { _Diachi = value; }
        }

        public int SDT
        {
            get { return _SDT; }
            set { _SDT = value; }
        }

        public string Website
        {
            get { return _Website; }
            set { _Website = value; }
        }

        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }

        public string Taikhoan
        {
            get { return _TaikhoanNH; }
            set { _TaikhoanNH = value; }
        }

        public string TinhTrang
        {
            get { return _TinhTrang; }
            set { _TinhTrang = value; }
        }

        public string GhiChu
        {
            get { return _GhiChu; }
            set { _GhiChu = value; }
        }

        public string Fax
        {
            get { return _Fax; }
            set { _Fax = value; }
        }
    }

    public class MatHang_DTO
    {
        private int _MaHang;
        private string _TenHang;
        private int _MaHD;
        private int _SoLuong;
        private int _GiaNhap;
        private int _IDLoai;
       
        private int _maXuatXu;
        private string _dVTinh;
        private int _donGia;

        private string _GhiChu;
        private string _TinhTrang;

        public string TinhTrang
        {
            get { return _TinhTrang; }
            set { _TinhTrang = value; }
        }
        

        public int MaXuatXu
        {
            get { return _maXuatXu; }
            set { _maXuatXu = value; }
        }

        public int IDLoai
        {
            get { return _IDLoai; }
            set { _IDLoai = value; }
        }

        public string DVTinh
        {
            get { return _dVTinh; }
            set { _dVTinh = value; }
        }
       
        public int MaHang
        {
            get { return _MaHang; }
            set { _MaHang = value; }
        }

        public string TenHang
        {
            get { return _TenHang; }
            set { _TenHang = value; }
        }


        public int SoLuong
        {
            get { return _SoLuong; }
            set { _SoLuong = value; }
        }

        public int GiaNhap
        {
            get { return _GiaNhap; }
            set { _GiaNhap = value; }
        }

        public int MaHD
        {
            get { return _MaHD; }
            set { _MaHD = value; }
        }

        public int DonGia
        {
            get { return _donGia; }
            set { _donGia = value; }
        }

        public string GhiChu
        {
            get { return _GhiChu; }
            set { _GhiChu = value; }
        }
    }


    public class HoaDonNhap_DTO
    {
        private int _MaHD;
        private DateTime _NgayNhap;
        private DateTime _NgayLap;
        private string _TrangThai;
        private string _GhiChu;
        private int _MaNCC;

       public int MaHD
        {
            get { return _MaHD; }
            set { _MaHD = value; }
        }

       public System.DateTime NgayLap
       {
           get { return _NgayLap; }
           set { _NgayLap = value; }
       }

        public System.DateTime NgayNhap
        {
            get { return _NgayNhap; }
            set { _NgayNhap = value; }
        }

        public string TrangThai
        {
            get { return _TrangThai; }
            set { _TrangThai = value; }
        }

        public string GhiChu
        {
            get { return _GhiChu; }
            set { _GhiChu = value; }
        }

        public int MaNCC
        {
            get { return _MaNCC; }
            set { _MaNCC = value; }
        }


    }
    public class HoaDonTra_DTO
    {
        private int _MaHD;
        private DateTime _NgayTra;
        private DateTime _NgayLap;
        private string _TrangThai;
        private string _GhiChu;
        private int _MaNCC;

        public int MaHD
        {
            get { return _MaHD; }
            set { _MaHD = value; }
        }

        public System.DateTime NgayLap
        {
            get { return _NgayLap; }
            set { _NgayLap = value; }
        }

        public System.DateTime NgayTra
        {
            get { return _NgayTra; }
            set { _NgayTra = value; }
        }

        public string TrangThai
        {
            get { return _TrangThai; }
            set { _TrangThai = value; }
        }

        public string GhiChu
        {
            get { return _GhiChu; }
            set { _GhiChu = value; }
        }

        public int MaNCC
        {
            get { return _MaNCC; }
            set { _MaNCC = value; }
        }


    }
}

